/* =========================
   GLOBAL LAYOUT
========================= */

body {
    margin: 0;
    padding-top: 110px; /* space for fixed header + subheader */
    background: #363636;
    color: white;
    font-family: Arial, sans-serif;
        display: flex;
    flex-direction: column;
    height: 100%;
    flex: 1;
    line-height: 1.7;
}

.paragraph {
    margin-left: 0;
    padding-left: 0;
    text-indent: 0;
}
.title{
    text-align: center;
}

img {
    max-width: 100%;
    height: auto;
}


.feature-section {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.feature-section img {
    margin-top: 0px;
    width: 300px;
    height: auto;
}

.feature-section ul {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}


.paragraph-divider {
    width: calc(80% + 20%);
    margin-left: -12.5%;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(245, 201, 122, 0.5),
        transparent
    );
}


.portfolio-title{
    margin: 0 20% 20px 20%;
    line-height: 1.7;
}

.portfolio-title summary{
    font-size: 24px;
    padding: 10px;
}
/* =========================
   HEADER BAR
========================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 15px 20%;

    background: #000000;
    border-bottom: 2px solid white;

    z-index: 1000;

    animation: slideDown 0.8s ease-out;
}

.site-header .left,
.site-header .right {
    font-size: 1.5rem;
}

/* =========================
   SUBHEADER (FIXED, NOT STICKY)
========================= */

.subheader {
    position: fixed;
    top: 70px; /* sits under header */
    left: 0;
    right: 0;

    z-index: 999;

    padding: 5px 20%;
    background: #202020;

    display: flex;
    align-items: center;

    animation: subSlideDown 1.4s ease-out 0.4s;
    animation-fill-mode: backwards;
}

.subheader-left,
.subheader-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.subheader-right {
    margin-left: auto;
}

.subheader a {
    color: white;
    text-decoration: none;
}

.subheader a.active {
    color: #4da3ff;
    font-weight: bold;
}

.subheader a:hover {
    text-decoration: underline;
}
/* =========================
   Footer Bar
========================= */

.site-footer { 
    padding: 10px 10px;
    text-align: center;
    background: #1a1a1a;
    margin-top: 40px;
}


.footer-email {
    color: #4da6ff;
    text-decoration: none;
}


/* =========================
   ANIMATIONS
========================= */

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes subSlideDown {
    from {
        transform: translateY(-60px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* =========================
   ICONS
========================= */

.icon {
    width: 32px;
    height: 32px;

    transition: all 0.2s ease;
}

.icon {
    width: 32px;
    height: 32px;

    filter: invert(1);
    transition: transform 0.2s ease, filter 0.2s ease;
}

.icon:hover {
    transform: scale(1.1);
    filter: invert(1) drop-shadow(0 0 6px #f5c97a);
}

.site-footer img:hover {
    filter:
        brightness(0)
        saturate(100%)
        invert(78%)
        sepia(45%)
        saturate(638%)
        hue-rotate(339deg)
        brightness(101%)
        contrast(92%);
}




.subheader-right img:hover {
    filter:
        brightness(0)
        saturate(100%)
        invert(78%)
        sepia(45%)
        saturate(638%)
        hue-rotate(339deg)
        brightness(101%)
        contrast(92%);
}

/* =========================
   VIDEO CARDS
========================= */

.video-container {
    max-width: 900px;
    margin: 50px auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.video-card {
    position: relative;
    display: block;
    overflow: hidden;

    height: 300px;
    border-radius: 12px;
    text-decoration: none;

    transition: transform 0.2s ease;
}

.video-card:hover {
    transform: scale(1.03);
}

.video-card img,
.video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background: rgba(0, 0, 0, 0.4);
    color: white;
    text-align: center;
}

/* =========================
   CURSOR SYSTEM
========================= */

body {
    cursor: none;
}

a,
button,
input,
textarea,
select,
label {
    cursor: none !important;
}

/* DOT */
#cur {
    position: fixed;
    width: 9px;
    height: 9px;

    background: #f5c97a;
    border-radius: 50%;
    pointer-events: none;

    z-index: 10000;

    transform: translate(-50%, -50%);

    box-shadow:
        0 0 8px rgba(245, 201, 122, 0.9),
        0 0 20px rgba(245, 201, 122, 0.5);
}

/* RING */
#cur-ring {
    position: fixed;
    width: 40px;
    height: 40px;

    border: 3px solid #f5c97a;
    border-radius: 50%;
    pointer-events: none;

    z-index: 9999;

    transform: translate(-50%, -50%);

    transition:
        width 0.25s ease,
        height 0.25s ease,
        opacity 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.15s ease;

    box-shadow:
        0 0 10px rgba(245, 201, 122, 0.3),
        0 0 25px rgba(245, 201, 122, 0.15);

    
}

#cur-ring.hover {
    width: 18px;
    height: 18px;

    box-shadow:
        0 0 5px rgba(245, 201, 122, 1),
        0 0 15px rgba(245, 201, 122, 0.9),
        0 0 30px rgba(245, 201, 122, 0.7),
        0 0 60px rgba(245, 201, 122, 0.4);
}

/* =========================
   HOVER EFFECTS
========================= */

.hover-active {
    color: #f5c97a !important;
    text-shadow:
        0 0 5px rgba(245, 201, 122, 0.8),
        0 0 15px rgba(245, 201, 122, 0.6);
}

img.hover-active {
    transform: scale(1.03);
    filter:
        drop-shadow(0 0 6px rgba(245, 201, 122, 0.6))
        drop-shadow(0 0 18px rgba(245, 201, 122, 0.35));
}


.video-card.hover-active {
    transform: scale(1.03);
    box-shadow:
        0 0 15px rgba(245, 201, 122, 0.6),
        0 0 40px rgba(245, 201, 122, 0.3);
}
/* Optional: smoother hover scaling for cards */
.video-card:hover {
    transform: scale(1.03);
    transition: transform 0.2s ease;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    body {
        padding-top: 160px;
    }

    .site-header {
        flex-direction: column;
        gap: 5px;
        text-align: center;
        padding: 0px 20px;
    }

    .subheader {
        flex-wrap: wrap;
        top: 60px; /* sits under header */
        padding: 0px 15px;
    }

    .subheader-left,
    .subheader-right {
        width: 100%;
        justify-content: center;
        margin: 5px 0;
    }

    #cur,
    #cur-ring {
        display: none !important;
    }

    body,
    a,
    button,
    input,
    textarea,
    select,
    label {
        cursor: auto !important;
    }
}

/* =========================
   CV IMAGE
========================= */

.cv-card {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.cv-image {
    display: block;
    margin: 40px auto;
    width: 80%;
    max-width: 800px;
    height: auto;

    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .cv-image {
        width: 95%;
        border-radius: 0;
        box-shadow: none;
    }
}

section {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
}

h1, h2 {
    color: white;
}

.project-section h2 {
    margin-bottom: 20px;
    border-left: 4px solid #f5c97a;
    padding-left: 10px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.section-divider {
    width: 80%;
    height: 1px;
    margin: 60px auto;
    background: linear-gradient(
        to right,
        transparent,
        rgba(245, 201, 122, 0.5),
        transparent
    );
}

a {
    text-decoration-color: #f5c97a;
}

a:hover {
    text-decoration-thickness: 2px;
}
.card-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.project-card {
    flex: 1;
    text-decoration: none;
    color: white;

    background: #202020;
    border-radius: 12px;
    overflow: hidden;

    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card video {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: 15px;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(245, 201, 122, 0.3);
}

@media (max-width: 768px) {
    .card-row {
        flex-direction: column;
    }

    .project-card video {
        height: 180px;
    }
}

